package com.ruoyi.eoms.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户管理对象 party
 * 
 * @author yuanpingfang
 * @date 2020-12-01
 */
public class Party extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户编号 */
    private String partyId;

    /** 客户类型编号 */
    private String partyTypeId;

    /** 外部标识 */
    private String externalId;

    /** 优先使用币种 */
    private String preferredCurrencyUomId;

    /** 个人简介 */
    @Excel(name = "个人简介")
    private String description;

    /** 状态 */
    @Excel(name = "状态")
    private String statusId;

    /** 创建日期 */
    private Date createdDate;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdByUserLogin;

    /** 最后修改日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastModifiedDate;

    /** 最后修改人 */
    @Excel(name = "最后修改人")
    private String lastModifiedByUserLogin;

    /** 数据源编号 */
    private String dataSourceId;

    /** 是否未读 */
    private String isUnread;

    /** 最后更新时间 */
    private Date lastUpdatedStamp;

    /** 最后更新时间 */
    private Date lastUpdatedTxStamp;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdStamp;

    /** 创建事务时间 */
    private Date createdTxStamp;

    public void setPartyId(String partyId) 
    {
        this.partyId = partyId;
    }

    public String getPartyId() 
    {
        return partyId;
    }
    public void setPartyTypeId(String partyTypeId) 
    {
        this.partyTypeId = partyTypeId;
    }

    public String getPartyTypeId() 
    {
        return partyTypeId;
    }
    public void setExternalId(String externalId) 
    {
        this.externalId = externalId;
    }

    public String getExternalId() 
    {
        return externalId;
    }
    public void setPreferredCurrencyUomId(String preferredCurrencyUomId) 
    {
        this.preferredCurrencyUomId = preferredCurrencyUomId;
    }

    public String getPreferredCurrencyUomId() 
    {
        return preferredCurrencyUomId;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setStatusId(String statusId) 
    {
        this.statusId = statusId;
    }

    public String getStatusId() 
    {
        return statusId;
    }
    public void setCreatedDate(Date createdDate) 
    {
        this.createdDate = createdDate;
    }

    public Date getCreatedDate() 
    {
        return createdDate;
    }
    public void setCreatedByUserLogin(String createdByUserLogin) 
    {
        this.createdByUserLogin = createdByUserLogin;
    }

    public String getCreatedByUserLogin() 
    {
        return createdByUserLogin;
    }
    public void setLastModifiedDate(Date lastModifiedDate) 
    {
        this.lastModifiedDate = lastModifiedDate;
    }

    public Date getLastModifiedDate() 
    {
        return lastModifiedDate;
    }
    public void setLastModifiedByUserLogin(String lastModifiedByUserLogin) 
    {
        this.lastModifiedByUserLogin = lastModifiedByUserLogin;
    }

    public String getLastModifiedByUserLogin() 
    {
        return lastModifiedByUserLogin;
    }
    public void setDataSourceId(String dataSourceId) 
    {
        this.dataSourceId = dataSourceId;
    }

    public String getDataSourceId() 
    {
        return dataSourceId;
    }
    public void setIsUnread(String isUnread) 
    {
        this.isUnread = isUnread;
    }

    public String getIsUnread() 
    {
        return isUnread;
    }
    public void setLastUpdatedStamp(Date lastUpdatedStamp) 
    {
        this.lastUpdatedStamp = lastUpdatedStamp;
    }

    public Date getLastUpdatedStamp() 
    {
        return lastUpdatedStamp;
    }
    public void setLastUpdatedTxStamp(Date lastUpdatedTxStamp) 
    {
        this.lastUpdatedTxStamp = lastUpdatedTxStamp;
    }

    public Date getLastUpdatedTxStamp() 
    {
        return lastUpdatedTxStamp;
    }
    public void setCreatedStamp(Date createdStamp) 
    {
        this.createdStamp = createdStamp;
    }

    public Date getCreatedStamp() 
    {
        return createdStamp;
    }
    public void setCreatedTxStamp(Date createdTxStamp) 
    {
        this.createdTxStamp = createdTxStamp;
    }

    public Date getCreatedTxStamp() 
    {
        return createdTxStamp;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("partyId", getPartyId())
            .append("partyTypeId", getPartyTypeId())
            .append("externalId", getExternalId())
            .append("preferredCurrencyUomId", getPreferredCurrencyUomId())
            .append("description", getDescription())
            .append("statusId", getStatusId())
            .append("createdDate", getCreatedDate())
            .append("createdByUserLogin", getCreatedByUserLogin())
            .append("lastModifiedDate", getLastModifiedDate())
            .append("lastModifiedByUserLogin", getLastModifiedByUserLogin())
            .append("dataSourceId", getDataSourceId())
            .append("isUnread", getIsUnread())
            .append("lastUpdatedStamp", getLastUpdatedStamp())
            .append("lastUpdatedTxStamp", getLastUpdatedTxStamp())
            .append("createdStamp", getCreatedStamp())
            .append("createdTxStamp", getCreatedTxStamp())
            .toString();
    }
}
